import Layout from "../../../layouts/index.vue"
import Main from "../../../layouts/components/main.vue"
export default [
  {
    path: "/home",
    name: "Home",
    key: "home",
    meta: {
      key: "home",
      icon: "icon-gongzuotai",
      title: "工作台",
    },
    component: Layout,
    children: [
      {
        path: "/level1One",
        name: "level1One",
        title: "数据看板1",
        key: "level1One",
        meta: {},
        component: Main,
        children: [
          {
            path: "/level1One1",
            name: "level1One1",
            title: "第三级菜单1",
            key: "level1One1",
            meta: {},
            component: () => import(/* webpackChunkName: "account" */ "../../../views/level1/one/index1.vue"),
          },
          {
            path: "/level1One2",
            name: "level1One2",
            title: "第三级菜单2",
            key: "level1One2",
            meta: {},
            component: () => import(/* webpackChunkName: "account" */ "../../../views/list/index.vue"),
          },
          {
            path: "/level1One3",
            name: "level1One3",
            title: "第三级菜单3",
            key: "level1One3",
            meta: {},
            component: () => import(/* webpackChunkName: "account" */ "../../../views/level1/one/index3.vue"),
          },
          {
            path: "/detailed/:id",
            name: "detailed",
            title: "第三级菜单3",
            key: "detailed",
            meta: {
              hidden: true,
              subTabmenu: true,
            },
            component: () => import(/* webpackChunkName: "account" */ "../../../views/level1/one/detailed.vue"),
          },
        ],
      },
      {
        path: "/level1Two",
        name: "level1Two",
        title: "数据看板2",
        key: "level1Two",
        meta: {},
        component: Main,
        children: [
          {
            path: "/level1Two1",
            name: "level1Two1",
            title: "第三级菜单",
            key: "level1Two1",
            meta: {},
            component: () => import(/* webpackChunkName: "account" */ "../../../views/level1/two/index1.vue"),
          },
        ],
      },
    ],
  },
]
